//@表示src
//import是es6的模块语法，表示引入模块
import http from "@/http/http";

const url = ""

export default {
  modifyPassword: function (data) {
    return http.post(`${url}/modifyPassword.do`, data);
  },
  login:function(data){
    return http.post(`/login.do`, data);
  },
  getInfo:function (){
    return http.get("/getInfo.do")
  },
  logout:function (){
    return http.get("/logout.do");
  }
};
